<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{resultadoPols2.page1}" id="page1">
            <ui:html binding="#{resultadoPols2.html1}" id="html1">
                <ui:head binding="#{resultadoPols2.head1}" id="head1">
                    <ui:link binding="#{resultadoPols2.link1}" id="link1" url="/resources/stylesheet.css"/>
                </ui:head>
                <ui:body binding="#{resultadoPols2.body1}" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{resultadoPols2.form1}" id="form1">
                        <div style="position: absolute; left: 0px; top: 0px">
                            <jsp:include page="encab1.jspf"/>
                        </div>
                        <ui:button action="#{resultadoPols2.button88_action}" binding="#{resultadoPols2.button88}" id="button88" immediate="true" mini="true"
                            primary="true" style="left: 47px; top: 120px; position: absolute; width: 59px" text="Cerrar"/>
                        <ui:label binding="#{resultadoPols2.label1}" id="label1" style="left: 96px; top: 192px; position: absolute" text="Nro. Solicitud:"/>
                        <ui:label binding="#{resultadoPols2.label2}" id="label2" style="left: 96px; top: 240px; position: absolute" text="NIT:"/>
                        <ui:label binding="#{resultadoPols2.label3}" id="label3" style="left: 480px; top: 192px; position: absolute" text="Producto:"/>
                        <ui:label binding="#{resultadoPols2.label4}" id="label4" style="left: 480px; top: 240px; position: absolute" text="Sublinea:"/>
                        <ui:label binding="#{resultadoPols2.label5}" id="label5" style="left: 480px; top: 288px; position: absolute" text="Tipo Solicitud:"/>
                        <ui:label binding="#{resultadoPols2.label6}" id="label6" style="left: 480px; top: 336px; position: absolute" text="Politica:"/>
                        <ui:staticText binding="#{resultadoPols2.staticText2}" id="staticText2" style="left: 576px; top: 192px; position: absolute" text="#{resultadoPols2.sct0004DataProvider.value['DSCRPCION']}"/>
                        <ui:staticText binding="#{resultadoPols2.staticText3}" id="staticText3" style="left: 576px; top: 240px; position: absolute" text="#{resultadoPols2.sct0019DataProvider.value['DSCRPCIONSBLNEA']}"/>
                        <ui:staticText binding="#{resultadoPols2.staticText4}" id="staticText4" style="left: 576px; top: 288px; position: absolute" text="#{resultadoPols2.sct0021DataProvider.value['DSCRPCIONTPOSLCTUD']}"/>
                        <ui:staticText binding="#{resultadoPols2.staticText5}" id="staticText5" style="left: 576px; top: 336px; position: absolute" text="#{resultadoPols2.sct0002DataProvider.value['DSCRPCION']}"/>
                        <ui:staticText binding="#{resultadoPols2.staticText6}" id="staticText6" style="left: 96px; top: 336px; position: absolute"/>
                        <ui:staticText binding="#{resultadoPols2.staticText7}" id="staticText7" style="left: 216px; top: 192px; position: absolute" text="#{resultadoPols2.sct0040DataProvider.value['NMROSLCTUD']}"/>
                        <ui:staticText binding="#{resultadoPols2.staticText8}" id="staticText8" style="left: 216px; top: 240px; position: absolute" text="#{resultadoPols2.nit}"/>
                        <ui:table augmentTitle="false" binding="#{resultadoPols2.table1}" clearSortButton="true" deselectMultipleButton="true" id="table1"
                            paginateButton="true" paginationControls="true" selectMultipleButton="true" sortPanelToggleButton="true"
                            style="left: 72px; top: 432px; position: absolute; width: 623px" title="Resultado" width="623">
                            <script><![CDATA[
/* ----- Functions for Table Preferences Panel ----- */
/*
 * Toggle the table preferences panel open or closed
 */
function togglePreferencesPanel() {
  var table = document.getElementById("form1:table1");
  table.toggleTblePreferencesPanel();
}
/* ----- Functions for Filter Panel ----- */
/*
 * Return true if the filter menu has actually changed,
 * so the corresponding event should be allowed to continue.
 */
function filterMenuChanged() {
  var table = document.getElementById("form1:table1");
  return table.filterMenuChanged();
}
/*
 * Toggle the custom filter panel (if any) open or closed.
 */
function toggleFilterPanel() {
  var table = document.getElementById("form1:table1");
  return table.toggleTableFilterPanel();
}
/* ----- Functions for Table Actions ----- */
/*
 * Initialize all rows of the table when the state
 * of selected rows changes.
 */
function initAllRows() {
  var table = document.getElementById("form1:table1");
  table.initAllRows();
}
/*
 * Set the selected state for the given row groups
 * displayed in the table.  This functionality requires
 * the 'selectId' of the tableColumn to be set.
 *
 * @param rowGroupId HTML element id of the tableRowGroup component
 * @param selected Flag indicating whether components should be selected
 */
function selectGroupRows(rowGroupId, selected) {
  var table = document.getElementById("form1:table1");
  table.selectGroupRows(rowGroupId, selected);
}
/*
 * Disable all table actions if no rows have been selected.
 */
function disableActions() {
  // Determine whether any rows are currently selected
  var table = document.getElementById("form1:table1");
  var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
  // Set disabled state for top actions
  document.getElementById("form1:table1:tableActionsTop:deleteTop").setDisabled(disabled);
  // Set disabled state for bottom actions
  document.getElementById("form1:table1:tableActionsBottom:deleteBottom").setDisabled(disabled);
}]]></script>
                            <ui:tableRowGroup binding="#{resultadoPols2.tableRowGroup1}" emptyDataMsg="No hay resultados para ese numero de solicitud."
                                id="tableRowGroup1" rows="10" sourceData="#{resultadoPols2.sct0040DataProvider}" sourceVar="currentRow">
                                <ui:tableColumn binding="#{resultadoPols2.tableColumn7}" headerText="Regla" id="tableColumn7" sort="COL1">
                                    <ui:staticText binding="#{resultadoPols2.staticText16}" id="staticText16" text="#{currentRow.value['COL1']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{resultadoPols2.tableColumn2}" headerText="Variable" id="tableColumn2" sort="COL2">
                                    <ui:staticText binding="#{resultadoPols2.staticText11}" id="staticText11" text="#{currentRow.value['COL2']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{resultadoPols2.tableColumn9}" headerText="Condicion" id="tableColumn9" sort="COL3">
                                    <ui:staticText binding="#{resultadoPols2.staticText18}" id="staticText18" text="#{resultadoPols2.operador}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{resultadoPols2.tableColumn8}" headerText="Valor en la Politica" id="tableColumn8" sort="COL4">
                                    <ui:staticText binding="#{resultadoPols2.staticText17}" id="staticText17" text="#{currentRow.value['COL4']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{resultadoPols2.tableColumn10}" headerText="Valor en la Solicitud" id="tableColumn10" sort="COL5">
                                    <ui:staticText binding="#{resultadoPols2.staticText19}" id="staticText19" text="#{currentRow.value['COL5']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{resultadoPols2.tableColumn1}" headerText="Cumple la condicion" id="tableColumn1" sort="COL6">
                                    <ui:staticText binding="#{resultadoPols2.staticText9}" id="staticText9" text="#{resultadoPols2.cumple}"/>
                                </ui:tableColumn>
                            </ui:tableRowGroup>
                        </ui:table>
                        <ui:label binding="#{resultadoPols2.serviciosFinancierosSATitulo1}" id="serviciosFinancierosSATitulo1"
                            style="color: rgb(96, 127, 151); font-family: 'Arial','Helvetica',sans-serif; font-size: 18px; left: 264px; top: 384px; position: absolute" text="SERVICIOS FINANCIEROS  SERFINANSA S.A."/>
                        <ui:label binding="#{resultadoPols2.label8}" id="label8" style="left: 96px; top: 288px; position: absolute"/>
                        <ui:staticText binding="#{resultadoPols2.titulo1}" id="titulo1"
                            style="color: rgb(108, 154, 154); font-family: 'Times New Roman','Times',serif; font-size: 18px; left: 504px; top: 120px; position: absolute" text="Resultado Aplicar Política"/>
                        <ui:button action="#{resultadoPols2.back_action}" binding="#{resultadoPols2.back}" id="back" immediate="true" mini="true" primary="true"
                            style="left: 119px; top: 120px; position: absolute; width: 72px" text="Regresar"/>
                        <ui:button action="#{resultadoPols2.imprimir_action}" binding="#{resultadoPols2.imprimir}" id="imprimir" mini="true" primary="true"
                            style="left: 200px; top: 120px; position: absolute; width: 72px" text="Imprimir"/>
                        <ui:label binding="#{resultadoPols2.label7}" id="label7" rendered="false" style="position: absolute; left: 288px; top: 288px" text="Nombre / Razon Social:"/>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
</jsp:root>
